<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Servlet生成三角形</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/Servlet1">
    <label for="number">请输入整数</label>
    <input type="number" min="1" id="number" name="num" value="">
    <input type="submit" value="确认">
</form>
</body>
</html>
